View Javadoc

1   package org.saf.struts.bean;
2   
3   
4   /***
5    * AuthorizationManager contains the name of the authorization manager class.
6    *
7    * @author Wim Tobback
8    * @version 1.0
9    * @since 1.0
10   */
11  public class AuthorizationManager {
12      private String type;
13  
14      /***
15       * @param type The type to set.
16       */
17      public void setType(String type) {
18          this.type = type;
19      }
20  
21      /***
22       * @return Returns the type.
23       */
24      public String getType() {
25          return type;
26      }
27  
28      /***
29       * @see java.lang.Object#toString()
30       */
31      public String toString() {
32          StringBuffer sb = new StringBuffer();
33  
34          sb.append("type : ").append(type).append(".");
35  
36          return sb.toString();
37      }
38  }